/**
 * 
 */
package GUI;

import java.awt.*;

import javax.swing.*;

/**
 * @author aviat
 *
 */
public class shiftsArrangement extends JPanel {
	
	private static final long serialVersionUID = 1L;
	private JButton btnBack;
	private JLabel iconlable;
	private JButton btnViewShifts;
	private JButton btnEditShifts ;
	
	public shiftsArrangement() {
		setBackground(new Color(255, 51, 0));
		setLayout(null);
		btnBack = new JButton("Back");
		btnBack.setIcon(new ImageIcon(shiftsArrangement.class.getResource("/resources/back22.png")));
		btnViewShifts = new JButton("View Shifts");
		btnViewShifts.setIcon(new ImageIcon(shiftsArrangement.class.getResource("/resources/calander.png")));
		btnEditShifts = new JButton("Edit Shifts");
		btnEditShifts.setIcon(new ImageIcon(shiftsArrangement.class.getResource("/resources/eraser.png")));
		initialize();
	}

	private void initialize() {


		JLabel lblShiftsArrangement = new JLabel("Shifts Arrangement");
		lblShiftsArrangement.setForeground(new Color(0, 204, 255));
		lblShiftsArrangement.setFont(new Font("Tahoma", Font.BOLD, 16));
		lblShiftsArrangement.setBounds(10, 11, 171, 44);
		add(lblShiftsArrangement);
		
		btnBack.setFont(new Font("Tahoma", Font.BOLD | Font.ITALIC, 12));
		btnBack.setBounds(10, 462, 101, 27);
		add(btnBack);
		
		btnViewShifts.setFont(new Font("Tahoma", Font.BOLD, 12));
		btnViewShifts.setBounds(291, 166, 164, 54);
		add(btnViewShifts);
		
		btnEditShifts.setFont(new Font("Tahoma", Font.BOLD, 12));
		btnEditShifts.setBounds(291, 292, 164, 54);
		add(btnEditShifts);
		
		ImageIcon LOGOImageIcon = new ImageIcon(getClass().getClassLoader().getResource("resources/camera-background3.png"));
		ImageIcon LOGO = new ImageIcon (LOGOImageIcon.getImage().getScaledInstance(-1, -1, java.awt.Image.SCALE_SMOOTH));
		
		
		JLabel iconlabel = new JLabel("");
		iconlabel.setIcon(LOGO);
		iconlabel.setBounds(0, 0, 786, 500);
		add(iconlabel);
	}

	/**
	 * @return the btnBack
	 */
	public JButton getBtnBack() {
		return btnBack;
	}

	/**
	 * @return the btnViewShifts
	 */
	public JButton getBtnViewShifts() {
		return btnViewShifts;
	}

	/**
	 * @return the btnEditShifts
	 */
	public JButton getBtnEditShifts() {
		return btnEditShifts;
	}
}
